package com.study.gank.mvp.contract

import com.study.gank.bean.BaseResult
import com.study.gank.bean.GankGoods
import io.reactivex.Observable

interface RandomContract {
    interface View {
        fun onShowRandom(goods: GankGoods)
    }

    interface Model {
        fun getRandom(type: String): Observable<BaseResult<List<GankGoods>>>
    }

    interface Presenter {
        fun getRandom(type: String)
    }
}